package com.example.vueback.mapper;

import com.example.vueback.model.Empinfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface EmpMapper {

    Empinfo getEmpinfoById(@Param("id") Integer id);

    void addEmpinfo(Empinfo empinfo);

    void updateEmpinfo(Empinfo empinfo);

    List<Empinfo> getEmpinfoAll();

    void delEmpinfoById(@Param("id") Integer id);

}
